<!doctype HTML>
<iframe src="resources/iframe-with-webview-plugin.html"></iframe>
<script>
onload = function() {
    if (window.testRunner) {
        testRunner.waitUntilDone();
        // Need to paint two frames in order to allow the plugin to properly load.
        // TODO(chrishtr): find out why and fix.
        requestAnimationFrame(function() {
            requestAnimationFrame(function() {
                requestAnimationFrame(function() {
                    testRunner.notifyDone();
                });
            });
        });
    }
}
</script>